@@ -60,8 +60,6 @@ class Agent < ActiveRecord::Base |
||
60 | 60 |
|
61 | 61 |
scope :of_type, lambda { |type| |
62 | 62 |
type = case type |
63 |
- when String, Symbol, Class |
|
64 |
- type.to_s |
|
65 | 63 |
when Agent |
66 | 64 |
type.class.to_s |
67 | 65 |
else |